﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RayTracer
{
    class Material
    {
        private Color color;
        private double ambient;
        private double diffuse;
        private double reflection;
        private double refraction;
        private double refraction_index;

        // CONSTRUCTORS
        public Material()
        {
            this.color = new Color();
            this.ambient=0;
            this.diffuse=0;
            this.reflection=0;
            this.refraction=0;
            this.refraction_index = 1;
        }

        public Material(Color color, double ambient, double diffuse, double reflection, double refraction, double refraction_index)
        {
            this.color = color;
            this.ambient = ambient;
            this.diffuse = diffuse;
            this.reflection = reflection;
            this.refraction = refraction;
            this.refraction_index = refraction_index;
        }

        // PROPERTIES
        public Color Color
        {
            get { return this.color; }
            set { this.color = value; }
        }

        public double Ambient
        {
            get { return this.ambient; }
            set { this.ambient = value; }
        }

        public double Diffuse
        {
            get { return this.diffuse; }
            set { this.diffuse = value; }
        }

        public double Reflection
        {
            get { return this.reflection; }
            set { this.reflection = value; }
        }

        public double Refraction
        {
            get { return this.refraction; }
            set { this.refraction = value; }
        }

        public double Refraction_index
        {
            get { return this.refraction_index; }
            set { this.refraction_index = value; }
        }

        // METHODS

    }
}
